package org.cttic.visualization.visualization.common;

import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author shkstart
 * @create 2020-05-12 16:38
 * 车辆注册信息数据库结构：mongo
 */
@Document(indexName="access_info_202005",type="_doc")
public class mongoData {
    private String vehiclePlate;
    private int vehicleColor;
    private int mediaType;  //通行类型 0-etc  1-cpc
    private int vehicleType;//收费车型
    private int vehicleClass;//车种
    private int axleCount;  //轴数
    private String tansTime;    //通行时间
    private int provinceId; //省份编号
    public mongoData() {
    }

    public mongoData(String vehiclePlate, int vehicleColor, int mediaType, int vehicleType, int vehicleClass, int axleCount, String tansTime, int provinceId) {
        this.vehiclePlate = vehiclePlate;
        this.vehicleColor = vehicleColor;
        this.mediaType = mediaType;
        this.vehicleType = vehicleType;
        this.vehicleClass = vehicleClass;
        this.axleCount = axleCount;
        this.tansTime = tansTime;
        this.provinceId = provinceId;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public String getTansTime() {
        return tansTime;
    }

    public void setTansTime(String tansTime) {
        this.tansTime = tansTime;
    }

    public String getVehiclePlate() {
        return vehiclePlate;
    }

    public void setVehiclePlate(String vehiclePlate) {
        this.vehiclePlate = vehiclePlate;
    }

    public int getVehicleColor() {
        return vehicleColor;
    }

    public void setVehicleColor(int vehicleColor) {
        this.vehicleColor = vehicleColor;
    }

    public int getMediaType() {
        return mediaType;
    }

    public void setMediaType(int mediaType) {
        this.mediaType = mediaType;
    }

    public int getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(int vehicleType) {
        this.vehicleType = vehicleType;
    }

    public int getVehicleClass() {
        return vehicleClass;
    }

    public void setVehicleClass(int vehicleClass) {
        this.vehicleClass = vehicleClass;
    }

    public int getAxleCount() {
        return axleCount;
    }

    public void setAxleCount(int axleCount) {
        this.axleCount = axleCount;
    }
}
